package com.tanhua.model.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor  //满参构造方法
@NoArgsConstructor   //无参构造方法
@Builder
public class BaseResult {
    @Builder.Default
    private int code = 0;
    @Builder.Default
    private String msg = "success";
    private Object data;
}